<%@page import="com.mmy.domain.car.VCarBase"%>
<%@page import="com.mmy.domain.constzone.TConstZone"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/include1.jsp"></jsp:include>
<title>租车信息</title>
</head>
<body>
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/FrontHeader.jsp"></jsp:include>
		<div id="index-back">
		<main class="at-padding-large-bottom"> 
		<article> 
		<header class="frontbg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom" style="padding-top:0px">
		<div class="page-header container">
			<div class="row">
				<div id="websitesearchdiv" style="padding:2px"> 
					<form action="visaSearch" name="visaSearchForm" class="info-form">
						品牌:<input id="xianlu-name" type="text" >
						车型:<input type="text" type="text">
						公司:<input type="text" type="text">
						<input type="button" class="btn" value="搜索"/>
					</form>
				</div>
			</div>
		</div>
		</header> 

<section class="container">
		<div class="portfolios portfolios-page">
			<c:forEach items="${carBase}" var="carBase" varStatus="status" begin="0">
				<div class="row" id="scenicrow">
					<div class="span-3 col">
						<div class="portfolios-box" onclick="window.location.href='carinfofront?iCarID=${carBase.getCarID()}';return false">
							<div class="portfolios-box-overlay magictime" data-hover="puffOut portfolio-back" data-return="tinUpIn">
								<img src="img/portfolios/portfolio-111.jpg"/>
							</div>
						</div>
					</div>

					<div class="span-6 col">
							<div>
								<p class="lineInfo" style="margin-bottom:0px"><b>品牌：</b>${carBase.getCarBrand()}</p>
								<p class="lineInfo" style="margin-bottom:0px"><b>保险：</b>${carBase.getCarSafe()}</p>
								<p class="lineInfo" style="margin-bottom:0px"><b>马力：</b>${carBase.getPower()}</p>
								<p class="lineInfo" style="margin-bottom:0px"><b>年限：</b>${carBase.getCarYear()}</p>
							</div>
					</div>
						<div class="span-3 col paddingtop2">
						<div class="scenicprice">
							<%-- <font class="scenicprice1">价格:</font>
							<div class="scenicprice2">
								<div class="at-float-right">
									<font class="scenicprice3">￥</font>
									<font class="scenicprice4">${carBase.getPrice()}</font>
								</div>
							</div> --%>
								<input type="hidden" id="Car${status.index }" name="Car${status.index }" value="${carBase.getCarID()}" /> 
								<input type="button" class="btns" value="预约" onclick="location.href='reservecar?iCarID=${carBase.getCarID()}'" />
						</div>
					</div>	
				</div>
			</c:forEach>
			</div>
		</section> 
		</article>
		 </main>
		 </div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>
	
</html>